package com.zxd.reflect;

/**
 * ClassName:Chinese
 * Package:com.zxd.reflect
 *
 * @Date:2023/10/7 20:33
 * @Author:zxde
 */
public class Chinese {
    private static final String COUNTRY = "中国";
    private static String Location;
    private int age;
    private String name;

    public static String getLocation() {
        return Location;
    }

    public static void setLocation(String location) {
        Location = location;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Chinese(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public Chinese() {
    }

    @Override
    public String toString() {
        return "Chinese{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }

    public void sayChina(){
        System.out.println("public I am Chinese");
    }
    private void sayChinaLow(){
        System.out.println("private say I am Chinese");
    }
}
